import './assets/main.css'

import {createApp} from 'vue'
import App from './App.vue'

// pinia
import {createPinia} from 'pinia'
// vue-router
import router from './router'
// element-plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// element-icon
import * as ElementPlusIconsVue from '@element-plus/icons-vue'


const app = createApp(App)
// icon
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.use(createPinia())
app.use(router)
app.use(ElementPlus)

app.mount('#app')
